

package com.zdkj.subway.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.st.dto.out.SwTkTicketDeliveryDetailsDTO;
import com.zdkj.subway.st.entity.SwTkTicketDelivery;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 车票配送/配入主表
 *
 * @author cuilei
 * @date 2020-06-12 17:39:25
 */
public interface SwTkTicketDeliveryService extends IService<SwTkTicketDelivery> {
    /**
     * 查询主信息及子项明细
     *
     * @param id
     * @return
     */
    SwTkTicketDeliveryDetailsDTO getDetailById(Integer id);

    /**
     * 查询超期未确认信息
     *
     * @return
     */
    List<SwTkTicketDelivery> getOverTimeList();

    /**
     * 车站确认线网车票配送通知
     * @param idList
     * @return
     */
    boolean noticeConfirm(List<Integer> idList);
    /**
     * 车票配送信息模板下载
     * @param
     * @return
     * @throws
     */
    void exportTamplateDelivery(HttpServletResponse response);
    /**
     * 加入车票入库
     * @param ids
     * @return
     */
    boolean inputDetailSubmitBatch(List<Integer> ids);
    /**
     * 加入车票出库
     * @param ids
     * @return
     */
    boolean outputDetailSubmitBatch(List<Integer> ids);
}
